<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>科技感登录页面</title>
    <style>
        body {
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            background-color: #0d0d0d;
            font-family: 'Arial', sans-serif;
            color: #fff;
        }

        .login-box {
            width: 300px;
            padding: 40px;
            background: rgba(255, 255, 255, 0.1);
            box-shadow: 0 0 15px rgba(0, 255, 255, 0.5), 0 0 15px rgba(0, 255, 255, 0.5) inset;
            border-radius: 10px;
            text-align: center;
        }

        .login-box h2 {
            margin-bottom: 30px;
            color: #00ffea;
        }

        .login-box .input-box {
            position: relative;
            margin-bottom: 30px;
        }

        .login-box .input-box input {
            width: 100%;
            padding: 10px;
            background: none;
            border: none;
            border-bottom: 2px solid #00ffea;
            color: #fff;
            font-size: 16px;
            outline: none;
        }

        .login-box .input-box label {
            position: absolute;
            top: 0;
            left: 0;
            pointer-events: none;
            padding: 10px;
            color: #00ffea;
            transition: 0.5s;
        }

        .login-box .input-box input:focus~label,
        .login-box .input-box input:valid~label {
            top: -20px;
            left: 0;
            color: #00ffea;
            font-size: 12px;
        }

        .login-box button {
            width: 100%;
            padding: 10px;
            border: none;
            background: linear-gradient(90deg, rgba(0, 255, 255, 1) 0%, rgba(0, 154, 255, 1) 100%);
            color: #fff;
            font-size: 16px;
            cursor: pointer;
            border-radius: 5px;
            transition: 0.3s ease;
        }

        .login-box button:hover {
            background: linear-gradient(90deg, rgba(0, 154, 255, 1) 0%, rgba(0, 255, 255, 1) 100%);
        }
    </style>
</head>

<body>
    <div class="login-box">
        <h2>登录</h2>
        <div class="input-box">
            <input type="text" required>
            <label>用户名</label>
        </div>
        <div class="input-box">
            <input type="password" required>
            <label>密码</label>
        </div>
        <button onclick="login()">点击登录</button>
    </div>

    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.4/jquery.min.js"></script>
    <script>
        function login() {
            $.ajax({

            })
        }
    </script>
</body>

</html>